/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author barisergun
 */

package org.testis.gui.mvc.model.testdesign;
//Java Libraries
import org.testis.gui.mvc.controller.testdesign.ConditionsController;

// Java libraries
import java.util.LinkedHashMap;

//Atof Libraries
import org.testis.gui.mvc.model.AbstractModel;




public class ConditionsModel extends AbstractModel {

    private LinkedHashMap<Integer,String> m_conditionsList = new LinkedHashMap<Integer,String>();

    public ConditionsModel() {
    }   

    public LinkedHashMap<Integer,String> getConditionsList() {
        return m_conditionsList;
    }

    public void setConditionsList(LinkedHashMap<Integer,String> conditionsList) {
        LinkedHashMap<Integer,String> oldCondList = m_conditionsList;
        m_conditionsList = conditionsList;
        firePropertyChange(ConditionsController.CHANGE_CONDITIONS_LIST,
                           oldCondList,
                           m_conditionsList);
    }

}
